function showSuperviseAlarmSearch() {
	window.location.href = "showSuperviseAlarmSearch.do";
}

function ajaxFindSuperviseAlarmSearchList(currentPage,pageSize) {
	$.ajax({
		type : "post",
		url : "ajaxSuperviseAlarmSearchList.do",
		data : {
			currentPage:currentPage,
			pageSize:pageSize,
		},
		success : function(msg) {
			$("#listSuperviseAlarmBox").html(msg);
		}
	});
}

function ajaxShowSuperviseAlarmView(id){
	$.ajax({
		type:"post",
		url:"ajaxShowSuperviseAlarmView.do",
		data:{superviseAlarmId:id},
		success:function(msg){
			$("#dialog").html(msg);
			$("#dialog").dialog({
				autoOpen: true,
				width: 620,
				title:$(".dialogtitle").attr("title"),
				modal: true,
				buttons: [
				          {
				        	  text: "关闭",
				        	  click: function() {
				        		  $(this).dialog( "close" );
				        	  }
				          }
				          ]
			});
		}
	});
}